package com.hotel.api.mapper;

import com.hotel.api.entity.User;
import com.hotel.api.entity.UserChangeRoom;
import com.hotel.api.vo.UserChangerRoomVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserChangeroomMapper {
    int insert(UserChangeRoom record);

    List<UserChangeRoom> selectUserChangeRoomOrders();

    int update(UserChangeRoom userChangeRoom);

    UserChangerRoomVO selectUserChangeRoomById(Integer id);

    UserChangeRoom selectUserChangeRoomByUserId(Integer id);

}